package com.app.controller.miniProgram;

import com.app.model.AwardModel;
import com.app.model.PointOutModel;
import com.app.service.AwardService;
import com.app.service.PointOutService;
import com.app.service.UserService;
import com.app.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Controller
@RequestMapping("/api")
public class PointOutController {
    @Autowired
    private PointOutService pointOutService;



    /**
     * 随手拍提示
     * @return
     * @throws Exception
     */
    @GetMapping("/getPointOut")
    public Result<Object> getNoticeList(){
        PointOutModel model = pointOutService.getModel();
        return Result.success(model);
    }


}
